package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BusVerifyLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
@Repository
public interface BusVerifyLogMapper extends Mapper<BusVerifyLog> {

    List<BusVerifyLog> getListByItemId(Integer itemId);

    //根据项目id和类型查询
    BusVerifyLog getOneByItemIdAndType(@Param("itemId")Integer itemId,@Param("type") Integer type);
}